Hierarchy Relation Principles

For the work with Hierarchy Relations some core principles apply:

  • Inheritance when adding a Relation
  • Inheritance when removing a Relation
  • Mirroring.

Inheritance when adding a Relation

The main principle in the maintenance of Hierarchy Relations is Inheritance. Inheritance means that it is not necessary to create Relations between all Nodes - instead, we create a Relation on the highest Node combination and all child Nodes will inherit this Relation.

In the above example a Relation between the Nodes ALL-STORES and FOOD exists. The Node FOOD has child Nodes MEAT, FISH, and DAIRY, which have further child Nodes like CHICKEN, BEEF, and so on. The child Nodes and their child Nodes will inherit the Relation settings of their parent Nodes.

Please note the Relation Type field in the Hierarchy Viewer. The value Related indicates that there is an existing Relation. The value Inherited indicates that the current Node received its setting from a parent Relation. The parent Relation can be identified with the Inherited from Node1 and Inherited from Node2 fields.

The Active field indicates the Relation status of the Relation between the selected Nodes. If this field is enabled a Relation exists and this Relation will be considered for Replenishment or other functionalities. If this field is disabled, either no Relation was created yet or an Exclude Relation is active.

Whenever a new Relation (Active or Excluded) is added to the Hierarchy Relations, all child Nodes will inherit this setting. There could be a situation where a child Node already has a Relation in place.

The example below shows an existing Relation between the Nodes EUR and MEAT.

When you add a new Relation between the Nodes EUR and FOOD, the inheritance rule steps in. The new Relation between the Nodes is created and all child Nodes will inherit this setting.

The newly created Relation between the Nodes EUR and FOOD overwrites the Relation between the Nodes EUR and MEAT because of top-down inheritance.

There might be situations, when you want to preserve previously created child Relations. When you create a new Relation and the system recognizes an existing child Relation, it will ask you if you want to overwrite or preserve the child's Relation.

The option Overwrite all child's Relations will create the previously shown result.

The option Preserve existing child's Relations will create the result shown below.

 

Inheritance when removing a Relation

The main principle in the maintenance of Hierarchy Relations is Inheritance. Inheritance, when removing a Relation, means that:

  • the Relation between the Nodes is removed.
  • if the selected Nodes have parent Nodes, the settings of the parent Nodes will be inherited to the selected Nodes.
  • if the selected Nodes have child Nodes, these child Nodes (and their child Nodes) will inherit the settings from the parent Nodes.

There are two functions that can be used to remove a Relation:

  • Remove Relation
  • Remove Relation (preserve child relations).

The example below shows Relations between the Nodes EUR and FOOD and also between the Nodes EUR and MEAT.

Remove Relation

If the Relation between the Nodes EUR and FOOD is removed with the Remove Relation function, the system will check, if there is a parent Relation for the Nodes EUR and FOOD. As there is no Relation between EUR and ALL-ITEMS this status will be inherited to the selected Nodes and the child Nodes leading to this result:

As a result, both Relations and all child Relations are removed.

Remove Relation (preserve child relations)

If the Relation between the Nodes EUR and FOOD is removed with the Remove Relation (preserve child relations) function, the system will check, if there is a parent Relation for the Nodes EUR and FOOD. As there is no Relation between the Nodes EUR and ALL-ITEMS this status will be inherited to the selected Nodes and the child Nodes leading to the following result:

As a result, the Relation between the Nodes EUR and FOOD and all child Relations are removed. This affects the child Nodes FISH, SALMON, TUNA, etc.

The Relation between the Nodes EUR and MEAT is preserved and all child Relations of the Nodes EUR and MEAT keep their original settings.

Mirroring

A Relation can be seen from two sides. A Relation between the Nodes ALL-STORES and FOOD is at the same time a Relation between the Nodes FOOD and ALL-STORES.

The Replenishment Hierarchy Page lets you switch between both views with a single click and lets you work with focus either on Item or Store.

To learn more about the Switch functionality click here.